FROM registry.cn-beijing.aliyuncs.com/aizhifu-saas/openjdk17:1.0

Maintainer haibo.wang <66202558@qq.com>
ADD demo.jar /demo.jar
# 运行jar包
RUN bash -c 'touch /demo.jar'

ENTRYPOINT ["java","-jar","/demo.jar"]

EXPOSE 8001

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
